/**
 * <copyright>
 * </copyright>
 *

 */
package ms.unicorn.language.languagedef;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>XReference Expression</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ms.unicorn.language.languagedef.XReferenceExpression#getReference <em>Reference</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.XReferenceExpression#isNewInstance <em>New Instance</em>}</li>
 *   <li>{@link ms.unicorn.language.languagedef.XReferenceExpression#getDefinition <em>Definition</em>}</li>
 * </ul>
 * </p>
 *
 * @see ms.unicorn.language.languagedef.LanguagedefPackage#getXReferenceExpression()
 * @model
 * @generated
 */
public interface XReferenceExpression extends EObject
{
  /**
   * Returns the value of the '<em><b>Reference</b></em>' reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Reference</em>' reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Reference</em>' reference.
   * @see #setReference(ModuleItem)
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getXReferenceExpression_Reference()
   * @model
   * @generated
   */
  ModuleItem getReference();

  /**
   * Sets the value of the '{@link ms.unicorn.language.languagedef.XReferenceExpression#getReference <em>Reference</em>}' reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Reference</em>' reference.
   * @see #getReference()
   * @generated
   */
  void setReference(ModuleItem value);

  /**
   * Returns the value of the '<em><b>New Instance</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>New Instance</em>' attribute isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>New Instance</em>' attribute.
   * @see #setNewInstance(boolean)
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getXReferenceExpression_NewInstance()
   * @model
   * @generated
   */
  boolean isNewInstance();

  /**
   * Sets the value of the '{@link ms.unicorn.language.languagedef.XReferenceExpression#isNewInstance <em>New Instance</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>New Instance</em>' attribute.
   * @see #isNewInstance()
   * @generated
   */
  void setNewInstance(boolean value);

  /**
   * Returns the value of the '<em><b>Definition</b></em>' containment reference.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Definition</em>' containment reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Definition</em>' containment reference.
   * @see #setDefinition(ModuleItem)
   * @see ms.unicorn.language.languagedef.LanguagedefPackage#getXReferenceExpression_Definition()
   * @model containment="true"
   * @generated
   */
  ModuleItem getDefinition();

  /**
   * Sets the value of the '{@link ms.unicorn.language.languagedef.XReferenceExpression#getDefinition <em>Definition</em>}' containment reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Definition</em>' containment reference.
   * @see #getDefinition()
   * @generated
   */
  void setDefinition(ModuleItem value);

} // XReferenceExpression
